link_libraries(boost_python-mt)
link_libraries(boost_regex-mt)
include_directories("/usr/include/python2.6")
link_directories("/usr/lib/python2.6")

file(GLOB SOURCES *.cpp)
file(GLOB HEADERS *.h)

add_library(fouine SHARED ${SOURCES} ${HEADER})

add_custom_target(
    fouine.so ALL
    DEPENDS fouine
    COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/libfouine.so ${CMAKE_CURRENT_BINARY_DIR}/fouine.so
)


